var shell = feature.create(function () {
    function env() {
        return Shell_env();
    }

    function exec(commands, env, path) {
        var temp = {};
        if (env) {
            for (var id in env) {
                if (env.hasOwnProperty(id)) {
                    if (env[id]) temp[id] = env[id];
                }
            }
        }
        return Shell_exec(commands ? [].concat(commands) : [], temp, path ? path : global.baseDir);
    }

    return {
        env: env,
        exec: exec
    }
});
